package cn.edu.bitc;

import java.util.Scanner;

public class Java_12 {
    public static void main(String[] args) {
//       double t = 38.5;
//       if (t >= 37.0){
//           System.out.println("这个人体温过高，快把他拖走");
//       }else {
//           System.out.println("体温正常");
//       }
//        Scanner sc = new Scanner(System.in);
//        System.out.println("请输入金额");
//        int money = sc.nextInt();
//        if (money < 100){
//            System.out.println("您余额不足，请充值");
//        }else {
//            System.out.println("支付成功");
//        }
        while (true){
            Scanner sc = new Scanner(System.in);
            System.out.println("请输入您的绩效");
            int score = sc.nextInt();
            if (score >= 0 & score < 60){
                System.out.println("您的绩效不合格");
                break;
            }else if (score >= 60 & score < 80){
                System.out.println("您的绩效为合格");
                break;
            }else if (score >= 80 & score < 90){
                System.out.println("您的绩效为良好");
                break;
            }else if (score >= 90 & score <= 100){
                System.out.println("您的绩效为优秀");
                break;
            }else {
                System.out.println("您输入的成绩有误，请重新输入");
            }
        }


    }
}
